Class PolicyMapParameterImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.PolicyMapParameterImpl
All Implemented Interfaces:
IPCObject, PolicyMapParameter

public class PolicyMapParameterImpl extends IPCObjectImpl implements PolicyMapParameter
Information provided by the PKI file:

    \class CPolicyMapParameter
    
    \brief CPolicyMapParameter holds parameters configured on policy-map type inspect on the asa
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getPolicyMapName

      public String getPolicyMapName()
      Information provided by the PKI file:
      
          \brief Returns the policyMap name that is being used
          
          \return string, the policy map name.
          
              
      Specified by:
      getPolicyMapName in interface PolicyMapParameter
      Returns:
      String Returns a String
    • getRunningConfig

      public List<String> getRunningConfig()
      Information provided by the PKI file:
      
          \brief Returns the running config string representation of policy map parameter
          
          \return vector<string> returns the running config string representation of policy map parameter.
          
              
      Specified by:
      getRunningConfig in interface PolicyMapParameter
      Returns:
      List<String> Returns a List<String>
    • getStatementCnt

      public int getStatementCnt()
      Information provided by the PKI file:
      
          \brief Returns the number of statements configured under policy map parameter
          
          return int, the number of statements configured under policy map parameter.
          
              
      Specified by:
      getStatementCnt in interface PolicyMapParameter
      Returns:
      int Returns a int
    • getStatementAt

      public PolicyMapParameterStatement getStatementAt(int index)
      Information provided by the PKI file:
      
          \brief Returns the policyMap name parameter statement based on index
          
          \param index, index to get the policy map from.
          
          \return PolicyMapParameterStatement, the policyMap name parameter statement based on index
          
              
      Specified by:
      getStatementAt in interface PolicyMapParameter
      Parameters:
      index - Takes in a parameter of index
      Returns:
      PolicyMapParameterStatement Returns a PolicyMapParameterStatement
    • getStatement

      public PolicyMapParameterStatement getStatement(String statement)
      Information provided by the PKI file:
      
          \brief Returns the policy map parameter statement based on the string representation
          
          \param statement, statement to get the policy map for.
          
          \return PolicyMapParametersStatement, the policy map parameter statement based on the string representation.
          
              
      Specified by:
      getStatement in interface PolicyMapParameter
      Parameters:
      statement - Takes in a parameter of statement
      Returns:
      PolicyMapParameterStatement Returns a PolicyMapParameterStatement
    • toString

      public String toString()
      Information provided by the PKI file:
      
          \brief Return the configuration in string
          
          \return string, the configuration as a string.
          
              
      Specified by:
      toString in interface PolicyMapParameter
      Overrides:
      toString in class Object
      Returns:
      String Returns a String